package com.qf.micrograss.grass.task;

import com.qf.micrograss.grass.service.GrassService;
import com.xxl.job.core.handler.annotation.XxlJob;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * --- 缘分让我们相遇乱世以外 ---
 *
 * @author SJY
 * 2025/1/7
 */
@Component
public class updateLikeNumTask {
    @Resource
    private GrassService grassService;

    @XxlJob("updateLikeNumTask")
    public void updateLikeNumTask() {
        grassService.updateLikeNumTask();
    }
}
